/**************************************************************************************************
/// Copyright (c) 2006-2018, RT-Thread Development Team
/// All rights reserved.
///
/// \author: Alex
///
/// \file: buzzer.h
/// \brief: Header for buzzer.
///
///
///
/// \version: 1.0
/// \date: Mar. 04, 2021
**************************************************************************************************/
    
#ifndef _BUZZER_H_
#define _BUZZER_H_
        
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
            
/**************************************************************************************************
*                              Macro definition                                                   *
**************************************************************************************************/

/**************************************************************************************************
*                              Enumeration type definition                                        *
**************************************************************************************************/
typedef enum
{
    EN_BUZZER_STATE_0,
    EN_BUZZER_STATE_1,
    EN_BUZZER_STATE_2,
    EN_BUZZER_STATE_3,
    EN_BUZZER_STATE_4,
    EN_BUZZER_STATE_5,
    EN_BUZZER_STATE_6,
    EN_BUZZER_STATE_7
    
}EN_BUZZER_STATE;
/**************************************************************************************************
*                              Struct type definition                                             *
**************************************************************************************************/

/**************************************************************************************************
*                              Functions declaration                                              *
**************************************************************************************************/
void BUZZER_SetBuzzerOn(void);
void BUZZER_Init(void);
void BUZZER_TaskProc(void);
    
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif
        
#endif

